import request from '../request.js'


const api = {

    //登录
    Login(params){
        return request({
            url:'/login',
            method:'post',
            data:params
        })
    },
    //注册
    Register(params){
        return request({
            url:'/Register',
            method:'post',
            data:params
        })
    }
    
}

export default api